﻿@model SectionWidget
@{
    Style.Reqiured("Section").AtFoot();
}
<div class="section">
    <div class="row">
        @foreach (SectionGroup group in Model.Groups.OrderBy(m => m.Order))
            {
            <div class="@(group.PercentWidth.IsNullOrWhiteSpace()?"col-xs-12":group.PercentWidth)">

                @Html.Partial(group.PartialView, group)

            </div>
        }
    </div>
</div>
